<template>
    <van-search v-model="keyword" shape="round" label="KK" autofocus show-action background="#f66" placeholder="请输入搜索关键词">
        <template #left>
            <span class="txt addr">{{address}}</span>
        </template>
        <template #action>
            <span class="txt ">我的</span>
        </template>
    </van-search>
</template>

    <script setup lang="ts">
import { reactive, ref } from "vue";
    let keyword = ref<string>("");
    let address = ref<string>('坤坤')
    </script>

    <style scoped>
.txt {
  color: #fff;
}
.addr {
  margin-right: 10px;
}
    </style>
